Xbasic
INDEX.FILENAME_GET Function
Syntax
Filename as C = Filename_Get()
Description
Gets the index filename.
Discussion
The .FILENAME_GET() method returns the full Filename, including drive and path of the index file referenced by the object pointer. If the index is a production index, the name will be the same as the table name with a .CDX extension.
Example
This finds the name of the index file.
dim tbl as P dim tag as C dim index_file as C dim indx as P tbl = table.current() tag = tbl.index_name_get(1) indx = tbl.index_primary_put(tag) index_file = indx.filename_get()
See Also